package com.ruoyi.workexperience.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作经历对象 work_experience
 * 
 * @author ruoyi
 * @date 2025-08-11
 */
public class WorkExperience extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 专家id */
    private String userId;

    /** 开始日期 */
    @Excel(name = "开始日期")
    private String startTime;

    /** 结束日期 */
    @Excel(name = "结束日期")
    private String endTime;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 负责产品 */
    @Excel(name = "负责产品")
    private String product;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String hospitalName;

    /** 科室 */
    @Excel(name = "科室")
    private String department;

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }

    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }

    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }

    public void setProduct(String product) 
    {
        this.product = product;
    }

    public String getProduct() 
    {
        return product;
    }

    public void setHospitalName(String hospitalName) 
    {
        this.hospitalName = hospitalName;
    }

    public String getHospitalName() 
    {
        return hospitalName;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("companyName", getCompanyName())
            .append("product", getProduct())
            .append("hospitalName", getHospitalName())
            .append("department", getDepartment())
            .toString();
    }
}
